package com.lvmou.index12306.framework.starter.bases.safa;

import org.springframework.beans.factory.InitializingBean;

/**
 * 开启fastJson安全模式
 */
public class FsatJsonSafeMode implements InitializingBean {
    @Override
    public void afterPropertiesSet() throws Exception {
        System.setProperty("fastjson2.parser.safeMode","true");
    }
}
